LGF_PulseRelay (FB / 3.0.1)

Overview

Author: Siemens Digital Industry

Short description

This block corresponds to an impulse relay or a toggle flip-flop including set and reset input. Pulse relay, Surge relay, Toggle-Flip-Flop, Frequency divider reset is leading / prior to set or trigger

Block Interface

LGF_PulseRelay (FB)
Bool  trigger out  Bool
    
Bool  set   
    
Bool  reset   
    
   

Input parameter

IdentifierData type Default value Description
triggerBool FALSE Trigger to toggle output signal (rising edge)
setBool FALSE Set output signal. rising edge
resetBool FALSE Reset signal, rising edge (prior to set)

Output parameter

IdentifierData type Description
outBool Ooutput signal

Functional description

Figure: LGF_PulseRelay Signal diagram

LGF_PulsRelay - Timing diagram

  1. Each rising edge of the input trigger changes the Boolean value of the output out.
  2. Each rising edge of the input set sets the Bboolean value of the output out to TRUE.
  3. Each rising edge of the input reset sets the Boolean value of the output out to FALSE.
  4. If the inputs set and reset are set in the same cycle, the reset input has priority.

The block can also be used as a frequency divider. If the input trigger is supplied with a fixed frequency, the output out delivers half the frequency.

Change log

Version & DateChange description
1.0.0Siemens Industry Online Support
06.06.2015First released version
1.0.1Siemens Industry Online Support
02.01.2017Upgrade: TIA V14 Update 1
1.0.2Siemens Industry Online Support
02.01.2017Comment correction
1.0.3Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
1.0.4Siemens Industry Online Support
23.11.2018Upgrade: TIA V15.1
1.0.5Simatic Systems Support
24.05.2019Refactoring and performance improvement
add ENO handling
3.0.0Simatic Systems Support
23.04.2020Set version to V3.0.0, harmonize the version of the whole library
3.0.1Simatic Systems Support
19.01.2021Insert documentation